package com.xtinno.dal.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xjj
 * @since 2025-06-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_workflow_definition")
public class WorkflowDefinitionModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "n_wfd_id", type = IdType.AUTO)
    private Integer nWfdId;

    @TableField("c_wfd_step_name")
    private String cWfdStepName;

    @TableField("c_wfd_step_description")
    private String cWfdStepDescription;

    @TableField("c_wf_workflow_id")
    private String cWfWorkflowId;

    @TableField("c_wfd_step_id")
    private String cWfdStepId;

    @TableField("c_wfd_step_parent")
    private String cWfdStepParent;

    /**
     * 0否1是
     */
    @TableField("c_wfd_step_start")
    private String cWfdStepStart;

    /**
     * 0否1是
     */
    @TableField("c_wfd_step_end")
    private String cWfdStepEnd;

    /**
     * 工作流 类型 LLM(调用大模型)/CODE(运行代码)/FUNCTION(调用封装好的函数)
     */
    @TableField("c_wfd_step_type")
    private String cWfdStepType;

    @TableField("c_wfd_llm_prompt_template_system")
    private String cWfdLlmPromptTemplateSystem;

    @TableField("c_wfd_llm_prompt_template_user")
    private String cWfdLlmPromptTemplateUser;

    @TableField("c_wfd_llm_model_params")
    private String cWfdLlmModelParams;

    @TableField("c_wfd_llm_model_json_schema")
    private String cWfdLlmModelJsonSchema;

    @TableField("c_wfd_function_id")
    private String cWfdFunctionId;

    @TableField("c_wfd_function_input")
    private String cWfdFunctionInput;


}
